package com.kgc.service;

import com.kgc.pojo.*;

import java.util.List;

public interface UserService {

    List<TicketInfo> getTicketInfo();

    List<User> getUserByLogin(String userPhone, String userPassword);

    UserDetail getUserDetail(Integer userdetailid);

    int updUser_TL(UserDetail userDetail);

    List<City> getCity_TL(int province);

    List<UserAddressEx> getAddressByUserDetailId(int userDetailId);

    List<Provinces> getProvinces_TL();

    List<Areas> getAreas_TL(int city);

    int addUserAddress_TL(UserAddress userAddress);

    int delUserAddress_TL(int userAddressId);

    List<Street> getStreet_TL(int area);

    int updUserDetail_TL(UserDetail userDetail);

    int updUserPwd_TL(Integer userid, String newpwd);
}
